:root {
    /* Font */
    --font-manrope: 'Manrope', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-roboto-con: 'Roboto Condensed', sans-serif;

    /* Font weight */
    --weight-thin: 100;
    --weight-extra-light: 200;
    --weight-light: 300;
    --weight-regular: 400; 
    --weight-medium: 500;
    --weight-semi-bold: 600;
    --weight-bold: 700;
    --weight-extra-bold: 800;
    --weight-black: 900;

    /* Color theme */
    --c-bg-theme: #333333;
    --c-text-black: #333333;
    --c-text-gold: #FFE6AA;

    /* color HEADER*/
    --c-text-header: #FFFFFF;
    --c-bg-header: #333333;
}

.case-study-hero {
    padding-top: 180px;
    padding-bottom: 260px;
    position: relative;
    z-index: 0;
    background: #333333;
}

.case-study-hero .row {
    flex-direction: column;
    gap: 5px;
}

.case-study-hero h4 {
    font-weight: var(--weight-semi-bold);
    margin: 0;
    font-size: 36px;
    background: var(--gra1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.case-study-hero h3 {
    font-family: 'Montserrat';
    font-weight: var(--weight-medium);
    letter-spacing: -0.03em;
    font-size: 56px;
    line-height: 60px;
    color: #fff;
    margin: 20px 0;
}

.case-study-hero p {
    font-family: "Inter";
    font-weight: var(--weight-light);
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.share {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.share a,
.share button {
    border-radius: 20px;
    border: 2px solid #fff;
    width: 40px;
    height: 40px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    text-decoration: none;
}

.share a:hover,
.share button:hover {
    opacity: 0.8;
    outline: none;
}

.share i {
    display: block;
    font-size: 18px;
}

@media (max-width:  1399.98px) {
    .case-study-hero h3 {
        font-size: 54px;
    }

    .case-study-hero h4 {
        font-size: 34px;
    }

    .case-study-hero p {
        font-size: 23px;
    }
}

@media (max-width: 1199.98px) {
    .case-study-hero h3 {
        font-size: 50px;
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .case-study-hero h4 {
        font-size: 32px;
    }

    .case-study-hero p {
        font-size: 22px;
    }

    .share {
        gap: 12px;
        margin-top: 12px;
    }

    .share a, .share button {
        border-radius: 20px;
        border: 1.5px solid #fff;
        width: 36px;
        height: 36px;
    }

    .share i {
        font-size: 17px;
    }
}

@media (max-width: 991.98px) {
    .case-study-hero {
        padding-top: 120px;
        padding-bottom: 200px;
    }

    .case-study-hero h3 {
        font-size: 38px;
        line-height: 45px;
    }

    .case-study-hero h4 {
        font-size: 26px;
    }

    .case-study-hero p {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .case-study-hero {
        padding-top: 120px;
        padding-bottom: 250px;
    }

    .case-study-hero h3 {
        font-size: 32px;
    }

    .case-study-hero h4 {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .case-study-hero {
        padding-top: 120px;
        padding-bottom: 230px;
    }

    .case-study-hero h3 {
        font-size: 28px;
        line-height: 40px;
    }
}

@media (max-width: 414px) {
    .case-study-hero {
        padding-top: 110px;
        padding-bottom: 200px;
    }

    .case-study-hero h3 {
        font-size: 28px;
        line-height: 40px;
    }
}

/* info */
.case-study-hero .info {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translate(-50%, 20%);
    padding: 0 10px;
}

.case-study-hero .info .row>div>div {
    padding: 50px 0;
    background: #404040 ;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.case-study-hero .info .contain-img {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 230px;
}

.case-study-hero .info .contain-img .bgr {
    width: 100%;
    height: 100%;
    position: relative;
    display: inline-block;
}

.case-study-hero .info .contain-img .bgr::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(119, 86, 40, 0.15);
  z-index: 1;
}

.case-study-hero .info .contain-img .bgr img {
    width: 100%;
    height: 100%;
    display: block;
}

.case-study-hero .info .contain-img .contain-logo {
    width: 50%;
    height: 40%;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
}

.case-study-hero .info .contain-img .contain-logo img {
    width: 80%;
    display: block;
    margin: auto;
}

.case-study-hero .info p {
    width: 45%;
    text-align: center;
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 300;
    font-size: "Inter";
    line-height: 32px;
}

@media (max-width:  1399.98px) {
    .case-study-hero .info p {
        width: 45%;
        font-size: 22px;
    }
}

@media (max-width: 1199.98px) {
    .case-study-hero .info .contain-img {
        height: 200px;
    }

    .case-study-hero .info .row>div>div {
        gap: 20px;
    }

    .case-study-hero .info p {
        width: 50%;
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    .case-study-hero .info .row>div>div {
        padding: 40px 0;
    }

    .case-study-hero .info .contain-img {
        height: 180px;
    }

    .case-study-hero .info p {
        width: 40%;
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 767.98px) {
    .case-study-hero .info .row>div>div {
        flex-direction: column;
        padding: 30px 0;
    }

    .case-study-hero .info .contain-img {
        height: 150px;
    }

    .case-study-hero .info p {
        width: 95%;
        font-size: 16px;
        letter-spacing: -0.02em;
        font-weight: var(--weight-light);
    }

    .case-study-hero .info {
        padding: 0px;
    }
}

@media (max-width: 575.98px) {
    .case-study-hero .info .contain-img {
        height: 130px;
    }

    .case-study-hero .info {
        padding: 0 10px;
        transform: translate(-50%, 12%);
    }

}

@media (max-width: 414px) {
    .case-study-hero .info .row>div>div {
        padding: 20px 0;
    }

    .case-study-hero .info p {
        font-size: 15px;
    }
}

/* case-body */
.case-body {
    padding-top: 200px;
    padding-bottom: 50px;
    color: var(--c-text-black);
}

.case-body .row {
    margin-bottom: 50px;
    flex-direction: column;
    gap: 15px;
    padding-right: 15px;
    padding-left: 15px;
}

.case-body h4 {
    font-weight: 700;
    font-size: 32px;
    width: fit-content;
    background: var(--gra1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.case-body h5 {
    font-family: "Inter";
    font-weight: var(--weight-medium);
    font-size: 22px;
}

.case-body h5 span {
    font-weight: 300;
}

.case-body p,
.case-body ul li {
    font-family: "Inter";
    font-weight: var(--weight-light);
    font-size: 22px;
    text-align: justify;
}

.case-body span {
    font-weight: var(--weight-medium);
}

.case-body p:last-of-type {
    margin: 0;
}

.case-body ul:last-of-type {
    margin: 0;
}

.case-body ul {
    padding-left: 40px;
}

.case-body ul li {
    line-height: 35px;
}

.case-body .service-item {
    margin-top: 16px;
}

.quote {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.quote h2 {
    font-family: "Inter";
    font-weight: var(--weight-medium);
    font-size: 48px;
    font-style: italic;
    width: 3%;
    background: linear-gradient(90deg, #A67E25 0%, #FAF1A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote p {
    font-family: "Inter";
    font-weight: var(--weight-regular);
    font-style: italic;
    font-size: 22px;
}

.quote .client {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.quote .client .contain-img {
    width: 75px;
    border-radius: 10px;
    overflow: hidden;
}

.quote .client .contain-img img {
    width: 100%;
}

.quote .client .name {
    font-family: "Inter";
    font-weight: var(--weight-medium);
    font-size: 22px;
}

.quote .client .role {
    font-family: "Inter";
    font-weight: var(--weight-light);
    font-size: 18px;
}

.case-body .contact>div>div {
    padding: 40px 50px 70px 40px;
    border-radius: 30px;
    background-image: 
        linear-gradient(rgb(51, 51, 51, 0.7)),
        url('../../../images/pages/case-studies/case-study-1/contact-us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.case-body .contact h4 {
    width: fit-content;
}

.case-body .contact p {
    color: #fff;
    margin-bottom: 30px;
}

@media (max-width:  1399.98px) {
    .case-body h4 {
        font-size: 30px;
    }

    .quote .client .name,
    .case-body h5,
    .case-body p,
    .case-body ul li {
        font-size: 21px;
    }
}

@media (max-width: 1199.98px) {
    .case-body {
        padding-top: 150px;
    }

    .case-body h4 {
        font-size: 28px;
    }

    .quote .client .name,
    .case-body h5,
    .case-body p,
    .case-body ul li {
        font-size: 18px;
        line-height: 26px;
    }

    .quote .client .contain-img {
        width: 65px;
    }

    .quote .client .role {
        font-size: 16px;
    }

    .quote h2 {
        font-size: 46px;
        width: 3.5%;
    }
}

@media (max-width: 991.98px) {
    .case-body h4 {
        font-size: 26px;
    }

    .quote .client .contain-img {
        width: 60px;
    }

    .case-body .row {
        margin-bottom: 40px;
    }

    .case-body .service-item {
        margin-top: 14px;
    }

    .quote h2 {
        font-size: 40px;
        width: 5%;
    }

    .quote {
        gap: 16px;
        margin-top: 25px;
    }

    .quote .client .contain-img {
        width: 60px;
    }

    .quote .client {
        gap: 16px;
        margin-top: 16px;
    }

    .case-body .contact h4,
    .case-body .contact p {
        width: 100%;
        text-align: center;
    }

    .case-body .contact>div>div {
        padding: 30px 20px 50px 20px;
    }
}

@media (max-width: 767.98px) {
    .case-body {
        padding-top: 200px;
    }

    .case-body h4 {
        font-size: 24px;
    }

    .quote .client .name,
    .case-body h5,
    .case-body p,
    .case-body ul li {
        font-size: 16px;
        line-height: 24px;
    }

    .case-body .row {
        margin-bottom: 30px;
    }

    .quote {
        gap: 16px;
        margin-top: 20px;
    }

    .quote .client .contain-img {
        width: 50px;
    }

    .quote .client {
        gap: 14px;
        margin-top: 14px;
    }

    .case-body .service-item {
        margin-top: 12px;
    }

    .case-body .contact h4 {
        font-size: 22px;
    }

    .case-body .contact p {
        padding: 0 40px;
    }
}

@media (max-width: 575.98px) {
    .case-body .contact h4 {
        font-size: 20px;
    }

    .case-body .contact p {
        padding: 0 30px;
    }
}

@media (max-width: 413.98px) {
    .case-body h4 {
        font-size: 22px;
    }
}